<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/commons/global.jsp" %>
<%@ include file="/commons/basejs.jsp" %>
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>添加任务</title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="format-detection" content="telephone=no">
	<link rel="stylesheet" href="${path }/static/layui/css/layui.css" media="all" />
	<link rel="stylesheet" href="${path }/static/css/public.css" media="all" />
</head>
<body class="childrenBody">
<form class="layui-form" style="width:100%;">
  <blockquote class="layui-elem-quote quoteBox">
    <div class="layui-form-item layui-row layui-col-xs12">
		<label class="layui-form-label">工单名称</label>
		<div class="layui-input-block">
			<input type="text" id="name" name="name" class="layui-input name" lay-verify="required" placeholder="请输入登工单名称">
		</div>
	</div>
	<div class="layui-form-item layui-form-text">
		<label class="layui-form-label">工单描述</label>
		<div class="layui-input-block">
			<textarea id="describe" name="describe" class="layui-textarea" lay-verify="required" placeholder="请输入" ></textarea>
		</div>
	</div>
	<shiro:hasAnyRoles name="pcm"> 
	<div class="layui-form-item layui-row layui-col-xs12">
		<label class="layui-form-label">地市</label>
		<div class="layui-input-inline layui-form" style="width:436px">
			<select id="city" name="city" lay-filter="city" lay-verify="required" disabled>
				<option value="">请选择市</option>
			</select>
		</div>
	</div>
	</shiro:hasAnyRoles>
	<input type="hidden" id="preCity" value="${city}" />
	<div class="layui-form-item layui-row layui-col-xs12">
		<label class="layui-form-label">区县</label>
		<div class="layui-input-inline layui-form" style="width:436px">
			<select id="area" name="area" lay-filter="area" lay-verify="required" disabled>
				<option value="">请选择县/区</option>
			</select>
		</div>
	</div>
	<shiro:hasAnyRoles name="pcm"> 
	<div class="layui-form-item layui-row layui-col-xs12">
		<label class="layui-form-label">执行部门</label>
		<div class="layui-input-inline layui-form">
			 <input type="text" id="orgId" name="orgId" lay-filter="tree" class="layui-input">
		</div>
	</div>
	</shiro:hasAnyRoles>
	<div class="layui-form-item layui-row layui-col-xs12">
		<label class="layui-form-label">主推产品</label>
		<div class="layui-input-block">
			<input type="text" id="product1" name="product1" class="layui-input" lay-verify="required" placeholder="请选择产品">
		</div>
	</div>
	<div class="layui-form-item layui-row layui-col-xs12">
		<label class="layui-form-label">热推产品</label>
		<div class="layui-input-block">
			<input type="text" id="product2" name="product2" class="layui-input" lay-verify="required" placeholder="请选择产品">
		</div>
	</div>
		<input type="hidden" id="primaryP" name="primaryP" class="layui-input"  lay-verify="">
		<input type="hidden" id="hotP" name="hotP" class="layui-input"  lay-verify="">	

			<div class="layui-inline">
				<div class="layui-input-inline">
					<input type="text" class="layui-input searchVal" placeholder="请输入搜索的内容" />
				</div>
				<a class="layui-btn search_btn" data-type="reload">搜索</a>
			</div>
		<div class="layui-inline">
			<label class="layui-form-label" style="padding:9px 9px 15px 0px">行业选择:</label>
			<div class="layui-input-inline">
				<select id="industry" name="industry" lay-filter="industry">
					<option value=""></option>
			        <option value="公共管理、社会保障和社会组织">公共管理、社会保障和社会组织</option>
			        <option value="电力、热力燃气及水产和供应业">电力、热力燃气及水产和供应业</option>
			        <option value="水利、环境和公共设施管理业">水利、环境和公共设施管理业</option>
			        <option value="采矿业">采矿业</option>
			        <option value="建筑业">建筑业</option>
			        <option value="批发和零售业">批发和零售业</option>
			        <option value="交通运输、仓储和邮政业">交通运输、仓储和邮政业</option>
			        <option value="农、林、牧、渔业">农、林、牧、渔业</option>
			        <option value="制造业">制造业</option>
			        <option value="租赁和商务服务业">租赁和商务服务业</option>
			        <option value="科学研究和技术服务业">科学研究和技术服务业</option>
			        <option value="居民服务、修理和其他服务业">居民服务、修理和其他服务业</option>
			        <option value="信息传输、软件和信息技术服务业">信息传输、软件和信息技术服务业</option>
			        <option value="金融业">金融业</option>
			        <option value="房地产业">房地产业</option>
			        <option value="卫生和社会工作">卫生和社会工作</option>
			        <option value="教育">教育</option>
			        <option value="文化、体育和娱乐业">文化、体育和娱乐业</option>
				</select>
			</div>
		</div>
		<div class="layui-inline">
			<label class="layui-form-label" style="padding:9px 9px 15px 0px">发展状态:</label>
			<div class="layui-input-inline">
				<select id="develop" name="develop" lay-filter="develop">
					<option value=""></option>
			        <option value="1">已发展</option>
			        <option value="2">未发展</option>
				</select>
			</div>
		</div>
		<div class="layui-inline">
			<label class="layui-form-label" style="padding:9px 9px 15px 0px">企业类型:</label>
			<div class="layui-input-inline">
				<select id="type" name="type" lay-filter="type">
					<option value=""></option>
			        <option value="1">党政军</option>
			        <option value="2">大企业</option>
			        <option value="3">金融</option>
			        <option value="4">商客</option>
			        <option value="5">高校</option>
				</select>
			</div>
		</div>
		<div class="layui-inline">
			<label class="layui-form-label" style="padding:9px 9px 15px 0px">企业规模:</label>
			<div class="layui-input-inline">
				<select id="scale" name="scale" lay-filter="scale">
					<option value=""></option>
			        <option value="1">大型企业</option>
			        <option value="2">中型企业</option>
			        <option value="3">小型企业</option>
			        <option value="4">微型企业</option>
				</select>
			</div>
		</div>
		<div class="layui-inline">
			<label class="layui-form-label" style="padding:9px 9px 15px 0px">是否全选:</label>
			<div class="layui-input-inline">
			    <input type="hidden" id="isAll" />
				<input  lay-filter="isAll" type="checkbox" name="close" lay-skin="switch" lay-text="是|否">
			</div>
		</div>
	</blockquote>
	<table id="gridList" lay-filter="gridList"></table>
	<!--操作-->
	<script type="text/html" id="gridListBar">
		<a class="layui-btn layui-btn-xs layui-btn-danger" lay-event="del">删除</a>
	</script>
	<div class="layui-form-item">
		<div class="layui-input-block">
			<button class="layui-btn layui-btn-sm" lay-submit="" lay-filter="addTask">立即添加</button>
			<button type="reset" class="layui-btn layui-btn-sm layui-btn-primary resettable">重置</button>
		</div>
	</div>
			
</form>
<script type="text/javascript" src="${path }/static/layui/layui.js"></script>
<script type="text/javascript" src="${path }/static/page/task/taskAddbatch.js"></script>
</body>
</html>